﻿using System;

public class VoltageSensor : Sensor
{
    ushort[] currentValues = new ushort[4];

    public VoltageSensor(int inTimeStamp, ushort[] inValues)
    {
        currentValues = Convert(inValues);
        Console.WriteLine("Im in volt");
    }

    public override ushort[] Convert(ushort[] inValues)
    {
        return inValues;
    }

    public override void updateValues(ushort[] inValues)
    {
        this.currentValues = Convert(inValues);
    }
}
